package com.cskaoyan.market.vo.admin;

import com.cskaoyan.market.db.domain.MarketCategory;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName MarketCategoryLevel
 * @Description TODO
 * @Author MZ
 * @Date 2023/5/11 9:04
 */
// 接收一级类目和对应二级类目的bean
@Data
public class MarketCategoryLevelVo {

    private Integer id;
    private String name;
    private String keywords;
    private String desc;
    private String iconUrl;
    private String picUrl;
    private String level;
    // 用于接收二级类目
    private List<MarketCategory> children = new ArrayList<>();

}
